SAP Accounts Payable System API - Implementation Template

(0 reviews)

Developer guide

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

Mapping Tables

Maps input request to create a Journal Entry request in SAP S/4HANA Cloud. Implements required fields to create a Journal Entry in SAP and can be extended as necessary.

SAP S/4HANA System FieldRequest FieldDescription
UUIDnoneUnique id of transaction generated with a DW function
CreationDateTimenoneCurrent time stamp generated with a DW function
SenderBusinessSystemIdpayload.senderSystemIdSending application system id configured for SAP S/4HANA instance
RecipientBusinessSystemIdpayload.recipientSystemIdReceiving application system id configured for SAP S/4HANA instance
OriginalReferenceDocumentTypepayload.referenceDocumentTypeOriginal reference document type configured for SAP S/4HANA instance
OriginalReferenceDocumentLogicalSystempayload.referenceDocumentSystemNameSource System Name
DocumentReferenceIDpayload.referenceDocumentIdReference Id from source system
BusinessTransactionTypepayload.transactionTypeTransaction type configured for SAP S/4HANA instance
AccountingDocumentTypepayload.accountingDocumentTypeAccounting document type configured for SAP S/4HANA instance
DocumentHeaderTextpayload.documentHeaderTextDocument header text configured for SAP S/4HANA instance
CreatedByUserpayload.createdByWho created the transaction configured for SAP S/4HANA instance
CompanyCodepayload.companyCodeCompany code for the transaction configured for SAP S/4HANA instance
DocumentDatepayload.documentDateDocument created date from source system
PostingDatepayload.postingDatePosting date from source system
Item.ReferenceDocumentItempayload.creditoItem.referenceDocumentIdCreditor item reference
Item.GLAccountpayload.creditoItem.glAccountItem GL account configured for SAP S/4HANA instance
Item.AmountInTransactionCurrency.currencyCodepayload.creditorItem.amount.currencyCodeCurrency code with default configured for SAP S/4HANA instance
Item.AmountInTransactionCurrencypayload.creditorItem.amount.amountJournal Entry transaction amount
Item.DebitCreditCodepayload.creditorItem.debitOrCreditCodeItem debit credit code configured for SAP S/4HANA instance
Item.DocumentItemTextpayload.creditorItem.documentItemTextItem description with default configured for SAP S/4HANA instance
Item.AccountAssignmentTypepayload.creditorItem.accountAssignment.assignmentTypeItem account assignment type configured for SAP S/4HANA instance
Item.ProfitCenterpayload.creditorItem.accountAssignment.profitCenterItem profit center configured for SAP S/4HANA instance
Item.CostCenterpayload.creditorItem.accountAssignment.costCenterItem cost center configured for SAP S/4HANA instance
DebtorItem.ReferenceDocumentItempayload.debtorItem.referenceDocumentItemDebtor reference document item with default configured for SAP S/4HANA instance
DebtorItem.Debtorpayload.debtorItem.debtorCustomer ID which must exist in SAP S/4HANA
DebtorItem.AmountInTransactionCurrency.currencyCodepayload.debtorItem.amount.currencyCodeDebtor currency code with default configured for SAP S/4HANA instance
DebtorItem.AmountInTransactionCurrencypayload.debtorItem.amount.amountJournal Entry transaction amount
DebtorItem.DebitCreditCodepayload.debtorItem.debitOrCreditCodeDebtor item debit credit code configured for SAP S/4HANA instance

Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onOct 13, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.2
1.0.0